home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / mozilla-firefox / include / dom / nsIDOMSVGNumber.h < prev    next >
C/C++ Source or Header  |  2006-05-08  |  2KB  |  98 lines

  1. /*
  2.  * DO NOT EDIT.  THIS FILE IS GENERATED FROM nsIDOMSVGNumber.idl
  3.  */
  4.  
  5. #ifndef __gen_nsIDOMSVGNumber_h__
  6. #define __gen_nsIDOMSVGNumber_h__
  7.  
  8.  
  9. #ifndef __gen_domstubs_h__
  10. #include "domstubs.h"
  11. #endif
  12.  
  13. /* For IDL files that don't want to include root IDL files. */
  14. #ifndef NS_NO_VTABLE
  15. #define NS_NO_VTABLE
  16. #endif
  17.  
  18. /* starting interface:    nsIDOMSVGNumber */
  19. #define NS_IDOMSVGNUMBER_IID_STR "98575762-a936-4ecf-a226-b74c3a2981b4"
  20.  
  21. #define NS_IDOMSVGNUMBER_IID \
  22.   {0x98575762, 0xa936, 0x4ecf, \
  23.     { 0xa2, 0x26, 0xb7, 0x4c, 0x3a, 0x29, 0x81, 0xb4 }}
  24.  
  25. class NS_NO_VTABLE nsIDOMSVGNumber : public nsISupports {
  26.  public: 
  27.  
  28.   NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMSVGNUMBER_IID)
  29.  
  30.   /* attribute float value; */
  31.   NS_IMETHOD GetValue(float *aValue) = 0;
  32.   NS_IMETHOD SetValue(float aValue) = 0;
  33.  
  34. };
  35.  
  36. /* Use this macro when declaring classes that implement this interface. */
  37. #define NS_DECL_NSIDOMSVGNUMBER \
  38.   NS_IMETHOD GetValue(float *aValue); \
  39.   NS_IMETHOD SetValue(float aValue); 
  40.  
  41. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  42. #define NS_FORWARD_NSIDOMSVGNUMBER(_to) \
  43.   NS_IMETHOD GetValue(float *aValue) { return _to GetValue(aValue); } \
  44.   NS_IMETHOD SetValue(float aValue) { return _to SetValue(aValue); } 
  45.  
  46. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  47. #define NS_FORWARD_SAFE_NSIDOMSVGNUMBER(_to) \
  48.   NS_IMETHOD GetValue(float *aValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetValue(aValue); } \
  49.   NS_IMETHOD SetValue(float aValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetValue(aValue); } 
  50.  
  51. #if 0
  52. /* Use the code below as a template for the implementation class for this interface. */
  53.  
  54. /* Header file */
  55. class nsDOMSVGNumber : public nsIDOMSVGNumber
  56. {
  57. public:
  58.   NS_DECL_ISUPPORTS
  59.   NS_DECL_NSIDOMSVGNUMBER
  60.  
  61.   nsDOMSVGNumber();
  62.  
  63. private:
  64.   ~nsDOMSVGNumber();
  65.  
  66. protected:
  67.   /* additional members */
  68. };
  69.  
  70. /* Implementation file */
  71. NS_IMPL_ISUPPORTS1(nsDOMSVGNumber, nsIDOMSVGNumber)
  72.  
  73. nsDOMSVGNumber::nsDOMSVGNumber()
  74. {
  75.   /* member initializers and constructor code */
  76. }
  77.  
  78. nsDOMSVGNumber::~nsDOMSVGNumber()
  79. {
  80.   /* destructor code */
  81. }
  82.  
  83. /* attribute float value; */
  84. NS_IMETHODIMP nsDOMSVGNumber::GetValue(float *aValue)
  85. {
  86.     return NS_ERROR_NOT_IMPLEMENTED;
  87. }
  88. NS_IMETHODIMP nsDOMSVGNumber::SetValue(float aValue)
  89. {
  90.     return NS_ERROR_NOT_IMPLEMENTED;
  91. }
  92.  
  93. /* End of implementation class template. */
  94. #endif
  95.  
  96.  
  97. #endif /* __gen_nsIDOMSVGNumber_h__ */
  98.